import json
couchdb_docs = json.load(open('./sti_couchdb_dump.JSON','r'))
couchdb_docs = couchdb_docs['rows']
for ii in xrange(len(couchdb_docs)):
	couchdb_docs[ii] = couchdb_docs[ii]['doc']
	del couchdb_docs[ii]['_rev']
	

from couchdbkit import *
server = Server()
db = server.get_or_create_db("sti")
db.bulk_save(couchdb_docs)

